package com.java2104.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "t_information")
public class Information {
    private Integer id;//商品id
    private String showName;//名称
    private String coding;//条形码
    private String barCode;//品牌id
    //private Integer brandId;//改
    private Brand brand;//
    //private Integer classifyId;//改
    private Classify classify;
    private float showPrice;//商品销售价格
    private float cost;//成本
    private boolean state;//上架状态
    private float weight;//重量
    private float length;//长度
    private float width;//宽度
    private float height;//高度
    private String color;//颜色
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Data productionTime;//生产日期
    private Data warranty;//保质期
    private String detailDescribe;//详细描述
    private Data inputTime;//录入时间

}
